import axios from '@/utils/request'

export const getJcDataInfo = (form) => {
    let jcDataInfo = axios.post('/index/jcdata/jcData/getJcDataInfo', { form })
    return jcDataInfo
}

export const changeJcDataStatus = (type,form) => {
    let newJcDataStatus = axios.post('/index/jcdata/jcData/changeJcDataStatus', { type,form })
    return newJcDataStatus
}

export const editJcDatas = (type,form) => {
    let newJcData = axios.post('/index/jcdata/jcData/editJcData', { type,form })
    return newJcData
}

export const editManyJcDatas = (type,form) => {
    let newJcData = axios.post('/index/jcdata/jcData/editManyJcDatas', { type,form })
    return newJcData
}